/*
 * lse.h
 *
 *  Created on: 01/09/2013
 *      Author: Alfonso JL
 */

#include <stdlib.h>
#include "generalNames.h"

#define NULL (void *)0

#ifndef LSE_H_
#define LSE_H_

typedef struct Node{
	SINT32 data;
	struct Node* next;
}NODE;

typedef NODE* ptrNode;

typedef struct list{
	ptrNode header, last;
}LSE;

void lse_add(LSE *, SINT32);
SINT32 lse_get(LSE *, UINT32);
UINT32 lse_size(LSE *);
UINT8 lse_isEmpty(LSE *);
void lse_clear(LSE *);
LSE lse_new(void);

#endif /* LSE_H_ */
